<?php

namespace maotool\util;


use maotool\core\text\password\PasswdStrength;
use maotool\core\text\password\PasswdStrengthRule;

class PasswordUtil
{

    /**
     * 密码强度检测
     * @param PasswdStrengthRule ...$passwdStrengthRul
     * @return PasswdStrength
     */
    public static function strength(PasswdStrengthRule ...$passwdStrengthRul)
    {
        return PasswdStrength::rules(...$passwdStrengthRul);
    }

}